// webui-main.scss

// compile it on the command line as follows::after
// cd /www/webui
// ./node_modules/.bin/sass --style=compressed scss/main.scss css/extern/main.min.css

// 0. Include any default variable overrides here (though functions won't be available)

$primary: #192c6e;
$secondary: #89989b;

// Option B: Include parts of Bootstrap
// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)
@import "../node_modules/bootstrap/scss/functions";

// 2. Include any default variable overrides here

// 3. Include remainder of required Bootstrap stylesheets
@import "../node_modules/bootstrap/scss/variables";
// @import "../node_modules/bootstrap/scss/mixins";
// @import "../node_modules/bootstrap/scss/root";

// 4. Include any optional Bootstrap CSS as needed
// @import "../node_modules/bootstrap/scss/utilities";
// @import "../node_modules/bootstrap/scss/reboot";
// @import "../node_modules/bootstrap/scss/type";
// @import "../node_modules/bootstrap/scss/images";
// @import "../node_modules/bootstrap/scss/containers";
// @import "../node_modules/bootstrap/scss/grid";
// @import "../node_modules/bootstrap/scss/helpers";

// 5. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss`
// @import "../node_modules/bootstrap/scss/utilities/api";

// 6. Add additional custom code here

// Create our own color.map
$colormap-colors: (
    "webui-active":                  #3678c9,
    "webui-attention":               #ff0000,
    "webui-background":              #192c6e,
    "webui-okSignal":                #00c300,
    "webui-warnSignal":              #ffff00,
    "webui-borderColor":             #f0f0f0
);

// use same line height standard like CCU WebUI (normal)
$line-height-base: 1.2;

// set hr-opacity to 1.0
$hr-opacity: 1.0;

// set headings font weight to bold
$headings-font-weight: bold;

// Merge the maps
$theme-colors: map-merge($theme-colors, $colormap-colors);

// Option A: Include all of Bootstrap
@import "../node_modules/bootstrap/scss/bootstrap";
